/*
 * $Id$
 */
package org.crazydays.gameplan.widget;


import java.util.TreeSet;
import java.io.Serializable;

/**
 * WidgetSet
 */
public class WidgetSet
    extends TreeSet<IWidget>
    implements Serializable
{
    /** serial version uid */
    public final static long serialVersionUID = "$Id$".hashCode();

    /** name */
    protected String name;

    /**
     * WidgetSet constructor.
     */
    public WidgetSet()
    {
    }

    /**
     * WidgetSet constructor.
     * 
     * @param name Name
     */
    public WidgetSet(String name)
    {
        setName(name);
    }

    /**
     * Set name.
     * 
     * @param name Name
     */
    public void setName(String name)
    {
        this.name = name;
    }

    /**
     * Get name.
     * 
     * @return Name
     */
    public String getName()
    {
        return name;
    }
}
